import axios from "axios";

// import { UserList } from "../types";

// interface Response {
// 	code: number;
// 	data: {
// 		items: UserList;
// 		total: number;
// 	};
// 	message: string;
// 	success: boolean;
// }

// export const reqGetUserList = (page: number, limit: number) => {
// 	return axios.get<Response>(`/api/admin/acl/user/${page}/${limit}`);
// };

export const reqGetUserList = (page: number, limit: number) => {
	return axios({
		method: "GET",
		url: `/api/admin/acl/user/${page}/${limit}`,
	});
};
